package com.li.domain;

/**
 * @Author: LiXiang
 * @Description :
 * @Date: Created in 2018/9/9 20:10
 */
public class ResultUtil {

    /**
     * 成功
     * @Author:  LiXiang
     * @Date: Created in 2018/9/9 20:11
     * @param obj
     * @return
     */
    public static Result success(Object obj){

        Result result = new Result(obj);

        return result;
    }

    public static Result error(Integer code,String msg){
        return null;
    }

    public static Result error(String msg){
        return null;
    }

    public static Result error(Integer code){
        return null;
    }
}
